<html>
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    <script src="/js/form_funcs.js" type="text/javascript" charset="utf-8"></script>
    <script>
      var money = "{{ profiler.money }}";
      var round = 0;
    </script>
    <title>{{ level_name }}</title>
  </head>
  <body>
    <div id="greeting">
      {% block greeting %}
        <h4>Welcome to the {{ level_name }} level</h4>
      {% endblock %}
    </div>
    <div id="info">
      {% block info %}
        <div>Name: {{ profiler.nickname|capfirst }}</div>
    	<div>Money: {{ profiler.money }}</div>
      {% endblock %}
    </div>
    <div id="result">
      {% block result %}
      {% endblock %}
    </div>
    <div id="form">
      {% block form %}
      {% endblock %}
    </div>
    <div id="links">
      {% for link in links %}
        <a href="{{ link.0 }}">{{ link.1 }}</a>
        {% if forloop.last %}
          <br />
        {% else %}
          |
        {% endif %}
      {% endfor %}
    </div>
  <h6> This is the {{ application_name }} application!</h6>
  </body>
</html>